<template>
  <div>
    <h1>{{ count }}</h1>
    <el-button type="primary" @click="add">主要按钮</el-button>
  </div>
</template>

<script setup>
import { ref } from 'vue'
const count = ref(0)
const add = () => {
  count.value += 1
}
</script>
